package _作业.Thread;

public class Test01 {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();
    }
}
class MyThread extends Thread{
    @Override
    public void run() {
        for (int i = 1; i <= 1000; i++) {

            System.out.println( i);
        }
    }
}
